<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src='vue.js'></script>
</head>
<body>
	<div id="app">
		<child @click="handleClick"></child>
		<child @click.native="handleClick"></child>
	</div>

	<script>

		Vue.component('child', {
			template: '<div @click="handleChildClick">child</div>',
			methods: {
				handleChildClick () {
					alert('child click');
					this.$emit('click', 2,3)
				}
			}
		})

		var app = new Vue({
			el: '#app',
			data: {
			
			},
			methods: {
				handleClick (a,b) {
					var c = a+b;
					alert(c);
				}
			}
		})

		
	</script>
</body>
</html>